import MatchGameData from "./MatchGameData";

const { ccclass, property } = cc._decorator;

@ccclass
export default class BsurceMain extends cc.Component {
    @property(cc.Prefab)
    bsurceMainPre: cc.Prefab = null;

    onLoad() {
        MatchGameData.loadCityData();
        this.addMainUI();
    }

    start() {}

    addMainUI() {
        let node = cc.instantiate(this.bsurceMainPre);
        this.node.addChild(node);
    }
}
